package com.berchina.service;

import com.berchina.bean.Order;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface OrderService {
    PageInfo<Order> findByPages(Map<String, Object> map, Integer page, Integer limit);

    List<Order> findByPhone(String phone);
    int addOrder(Order order);
}
